/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.studentlogin;

import za.ac.cput.studentlogin.StudentLogin;

/**
 *
 * @author Zeus
 */
public class StudentLoginImpl implements StudentLogin {

    @Override
    public int studID(int id) {
        return id;
    }

    @Override
    public String password(String pass) {
        return pass;
    }

    @Override
    public boolean authenticateStudent(int id) {
        if (id % 10 == 4) {
            return true;
        } else {
            return false;
        }
    }
}
